#include <stdio.h>
int main(void)
{
	unsigned short int a, b;
	a = 0x8F;
	b = a << 11;
	b = b >> 11;
	printf("b=0x%X\n", b);
	b = a & 0x1F;
	printf("b=0x%X\n", b);
	b = a | 0x0100;
	printf("b=0x%X\n", b);
	b = a & 0xFFF7;
	printf("b=0x%X\n", b);
}

